#ifndef system_handle_h__
#define system_handle_h__ 1

#include "class_register.h"
#include "amf/amf_object.h"
//using namespace Amf;

class SystemHandle : public IVK::InvokeObject
{
public:
	~SystemHandle();

	void WINAPI EventRegist (LPCWSTR name);
	void WINAPI EventDispatch (LPCWSTR name, Amf::AmfObjectPtr obj);
	void WINAPI UpdateEvents(Amf::AmfObjectPtr pNameList);
	
	CLASS_DEFINE_BEGIN (SystemHandle, IVK::InvokeObject)
		FUNC(EventRegist, (PARAM(LPCWSTR)))
		FUNC(EventDispatch, (PARAM(LPCWSTR), PARAM(Amf::AmfObjectPtr)))
		FUNC(UpdateEvents, (PARAM(Amf::AmfObjectPtr)))
	CLASS_DEFINE_END
};


#endif // system_handle_h__